package com.java.myapp.entity;

import java.io.Serializable;
import java.util.Date;

public class UserEntity implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer userId;
	private String userName;
	private String password;
	private Date createDate;
	private Date updateDate;
	private UserProfile userProfile;
	private UserGoal userGoal;
	
	public UserEntity(String userName, String password) {
		this.userName = userName;
		this.password = password;
	}
	
	
	public UserEntity(Integer userId, String userName, String password,
			Date createDate, Date updateDate) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.createDate = createDate;
		this.updateDate = updateDate;
	}



	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public UserProfile getUserProfile() {
		return userProfile;
	}

	public void setUserProfile(UserProfile userProfile) {
		this.userProfile = userProfile;
	}

	public UserGoal getUserGoal() {
		return userGoal;
	}
	
	public void setUserGoal(UserGoal userGoal) {
		this.userGoal = userGoal;
	}
	
	
	
	
	
}
